-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable hot reloading of interface files #1779
Enable hot reloading of interface files #1779
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo + using
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
I think it would be better to make this a server-side RT command |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Linter seems to have missed these whitespace issues.
Co-authored-by: wixoa <[email protected]>
I think it's actually better to leave this as a DM side action, so it can be easily integrated into existing admin and debug tooling which is pretty much all DM already. The eventual plan here is to integrate it with hot reloading actions of IDEs, but until that's in place I think this is the best approach. |
Can we get an RT command regardless so this can be used on codebases that haven’t added it? |
Screencast.from.2024-05-12.14-03-37.webm
Adds a new proc to
/world
ODHotReloadInterface
which forces a reload of the cached interface file and notifies all connected clients to reload it.Note this also cleans up some stuff that would probably causes issues with reconnecting too, so that's a nice bonus.